package org.jon.service;

import org.jon.domain.User;

/**
 * Created by administrator on 2017/8/20.
 */
public interface UserService {

    /**
     * 登录
     * @param user
     * @return
     */
    User getUserByCodePassword(User user);

    /**
     * 注册用户
     * @param user
     */
    void saveUser(User user);

}
